package com.xcw.ioexcel;

import sun.nio.cs.ext.GBK;

import java.io.*;
import java.util.Properties;

/**
 * @Author bhx
 * @Date 2022/8/5 2:59
 * @Description TODO
 */
public class properties_ {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        properties.setProperty("xcw1", "照相馆");
        properties.setProperty("xcw2", "sss2");
        properties.setProperty("xcw3", "sss3");
//        properties.load(new FileReader("api-IOexcam\\src\\main\\resources\\excel.properties"));
        properties.store(new FileOutputStream("api-IOexcam\\src\\main\\resources\\excel.properties",true), "utf-8");
        System.out.println();
    }
}
